package com.ruoyi.classes.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 学习计划对象 t_plan
 * 
 * @author Bandit
 * @date 2022-11-01
 */
public class TPlan extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 学习计划id */
    private Long id;

    /** 班级id */
    @Excel(name = "班级id")
    private Long classId;

    /** 学习计划目标 */
    @Excel(name = "学习计划目标")
    private String title;

    /** 总人数(班级总人数) */
    @Excel(name = "总人数(班级总人数)")
    private Long totalCount;

    /** 完成人数 */
    @Excel(name = "完成人数")
    private Long finishedCount;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setClassId(Long classId) 
    {
        this.classId = classId;
    }

    public Long getClassId() 
    {
        return classId;
    }
    public void setTitle(String title) 
    {
        this.title = title;
    }

    public String getTitle() 
    {
        return title;
    }
    public void setTotalCount(Long totalCount) 
    {
        this.totalCount = totalCount;
    }

    public Long getTotalCount() 
    {
        return totalCount;
    }
    public void setFinishedCount(Long finishedCount) 
    {
        this.finishedCount = finishedCount;
    }

    public Long getFinishedCount() 
    {
        return finishedCount;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("classId", getClassId())
            .append("title", getTitle())
            .append("totalCount", getTotalCount())
            .append("finishedCount", getFinishedCount())
            .toString();
    }
}
